//
//  CXBaseViewController.h
//  base_test
//
//  Created by  androidlongs on 17/8/9.
//  Copyright © 2017年  androidlongs. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YPXLoaddingView.h"
#import "SINAUiviewClickLiserner.h"
#import "SINAHttpRequestUtils.h"
@interface CXBaseViewController : UIViewController
-(void)initBackItem;
-(void)hiniBackItem;
-(void)hiniNavItem;
-(void)showNavItem;
-(void)initNavBarColorString:(NSString*) color;
-(void)initNavBarColor:(UIColor*) color;
-(void)dismiss;
-(BOOL) checkApproveIdent;

/*!
 * 控制器初始化并加载子视图 (懒加载除外)
 */
-(void)createView;

/*!
 * 进入控制器获取数据
 */
-(void)requestData;

@property(assign,nonatomic) CGFloat viewBaseHeight;

//@property(strong,nonatomic) YPXLoaddingView* loadingView;
@property(nonatomic,strong) PTLoadingView* ptLoadingView;

-(void)startLoading;
-(void)startLoadingWithOrginY:(NSInteger)yFlag;
-(void)stopLoading;

@end
